﻿@using usedcartrade.ViewModels
@model CarListViewModel


@{
    Layout = "~/Views/Shared/SiteLayout.cshtml";
}

@section TitleSection{
    首页
}
@section HeaderSection{
}

@section ContentBody{
    <table class="table">
        <tr>
            <th>
                车名
            </th>
            <th>
                型号
            </th>
            <th>
                品牌
            </th>

            <th>
                卖家
            </th>

            <th>
            </th>

        </tr>

        @foreach(CarViewModel item in Model.Cars)
        {
            <tr>
                <td>@item.carname</td>
                <td>@item.cartypename</td>
                <td>@item.carbrandname</td>
                <td>@item.caruser</td>
            </tr>
        }
    </table>
}

